//
// main.cpp for 202loi in /home/morel_t//Rendu/maths/202loi
// 
// Made by thomas morel
// Login   <morel_t@epitech.net>
// 
// Started on  Fri Mar  9 15:26:21 2012 thomas morel
// Last update Fri Mar  9 18:08:29 2012 florian jousseau
//

#include <iostream>
#include "202loi.h"

int		main(int ac, char **av)
{
  t_tab		tab;
  int		op;

  op = 1;
  option_1(&tab);
  option_2(&tab);
  option_3(&tab);
  option_4(&tab);
  option_5(&tab);
  if (ac == 2)
    op = atoi(av[1]);
  std::cout << "You can change the option during the program :\nUse your keyborad :\nNum 1 -> Option 1\nNum 2 -> Option 2\nNum 3 -> Option 3\nNum 4 -> Option 4\nNum 5 -> Option 5" << std::endl;
  start_graph(&tab, op);
  return (0);
}
